#include<iostream>
#include<vector>
using namespace std;
class Solution {
public:
    int inventoryManagement(vector<int>& stock) {
        int min = INT_MAX;
        for (int i = 0; i < stock.size(); i++) {
            if (stock[i] < min)min = stock[i];
        }
        return min;
    }
};